#pragma once

#include "DecimalData.hpp"
#include "IntegerData.hpp"

using Qt::PortType;
using Qt::PortIndex;
using Qt::QtNodeData;
using Qt::NodeDataType;
using Qt::QtNodeDataModel;

class DecimalData;
class IntegerData;


class DecimalToIntegerConverter
{

public:

  std::shared_ptr<QtNodeData>
  operator()(std::shared_ptr<QtNodeData> data);

private:

  std::shared_ptr<QtNodeData> _integer;
};


class IntegerToDecimalConverter
{

public:

  std::shared_ptr<QtNodeData>
  operator()(std::shared_ptr<QtNodeData> data);

private:

  std::shared_ptr<QtNodeData> _decimal;
};
